import request from "@/utils/request";

// 查询锚杆拉拔力试验检测报告 列表
export function listSdjMglblbgBsInfo(query) {
  return request({
    url: "/report_sdj/sdjMglblbgBsInfo/list",
    method: "get",
    params: query
  });
}

// 查询锚杆拉拔力试验检测报告 详细
export function getSdjMglblbgBsInfo(excelId) {
  return request({
    url: "/report_sdj/sdjMglblbgBsInfo/" + excelId,
    method: "get"
  });
}

// 新增锚杆拉拔力试验检测报告

export function addSdjMglblbgBsInfo(data) {
  return request({
    url: "/report_sdj/sdjMglblbgBsInfo",
    method: "post",
    data: data
  });
}

// 修改锚杆拉拔力试验检测报告

export function updateSdjMglblbgBsInfo(data) {
  return request({
    url: "/report_sdj/sdjMglblbgBsInfo",
    method: "put",
    data: data
  });
}

// 删除锚杆拉拔力试验检测报告

export function delSdjMglblbgBsInfo(excelId) {
  return request({
    url: "/report_sdj/sdjMglblbgBsInfo/" + excelId,
    method: "delete"
  });
}
// 锚杆拉拔力试验检测报告-检测结论
export function queryJcjl(data) {
  return request({
    url: "/report_sdj/sdjMglblbgBsInfo/jcjl",
    method: "put",
    data: data
  });
}
